<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <script type="text/javascript" src="js/jquery-3.6.0.min.js" defer></script>
    <script type="text/javascript" src="js/employee.js"></script>
</head>
<body>
<table border="1px" >
    <thead>
        <th>empId</th>
        <th>empName</th>
        <th>age</th>
        <th>sex</th>
        <th>email</th>
    </thead>
    <tbody>
    <tr>
        <td th:text="${emp.empId}"></td>
        <td th:text="${emp.empName}"></td>
        <td th:text="${emp.age}"></td>
        <td th:text="${emp.sex}"></td>
        <td th:text="${emp.email}"></td>
    </tr>
    </tbody>
</table>
</body>
</html>